package modelController.viewerController;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/api/v1/greeting")
public class GreetingController {

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    public String getGreeting() {
        return "{\"message\": \"Hello from Java EE!\"}";
    }
}
